home *** CD-ROM | disk | FTP | other *** search
/ Mac Mania 1 / MacMania 1.toast / Educational / Education'More / R-Z / SunR⁄S.cpt / SunRise & SunSet / background_2805.xml next >
Extensible Markup Language  |  1992-02-09  |  9KB  |  300 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE background PUBLIC "-//Apple, Inc.//DTD background V 2.0//EN" "" >
  3. <background>
  4.     <id>2805</id>
  5.     <filler1>0</filler1>
  6.     <bitmap>BMAP_4018.pbm</bitmap>
  7.     <cantDelete> <false /> </cantDelete>
  8.     <showPict> <true /> </showPict>
  9.     <dontSearch> <false /> </dontSearch>
  10.     <link rel="stylesheet" type="text/css" href="stylesheet_3103.css" />
  11.     <part>
  12.         <id>1</id>
  13.         <type>field</type>
  14.         <visible> <true /> </visible>
  15.         <dontWrap> <false /> </dontWrap>
  16.         <dontSearch> <false /> </dontSearch>
  17.         <sharedText> <false /> </sharedText>
  18.         <fixedLineHeight> <false /> </fixedLineHeight>
  19.         <autoTab> <false /> </autoTab>
  20.         <lockText> <false /> </lockText>
  21.         <rect>
  22.             <left>17</left>
  23.             <top>47</top>
  24.             <right>107</right>
  25.             <bottom>67</bottom>
  26.         </rect>
  27.         <style>rectangle</style>
  28.         <autoSelect> <false /> </autoSelect>
  29.         <showLines> <false /> </showLines>
  30.         <wideMargins> <false /> </wideMargins>
  31.         <multipleLines> <false /> </multipleLines>
  32.         <reservedFamily> 0 </reservedFamily>
  33.         <titleWidth>0</titleWidth>
  34.         <icon>0</icon>
  35.         <textAlign>center</textAlign>
  36.         <font>Geneva</font>
  37.         <textSize>12</textSize>
  38.         <textStyle>plain</textStyle>
  39.         <textHeight>16</textHeight>
  40.         <name>Date</name>
  41.         <script></script>
  42.     </part>
  43.     <part>
  44.         <id>2</id>
  45.         <type>field</type>
  46.         <visible> <true /> </visible>
  47.         <dontWrap> <false /> </dontWrap>
  48.         <dontSearch> <false /> </dontSearch>
  49.         <sharedText> <false /> </sharedText>
  50.         <fixedLineHeight> <false /> </fixedLineHeight>
  51.         <autoTab> <false /> </autoTab>
  52.         <lockText> <false /> </lockText>
  53.         <rect>
  54.             <left>191</left>
  55.             <top>47</top>
  56.             <right>292</right>
  57.             <bottom>67</bottom>
  58.         </rect>
  59.         <style>rectangle</style>
  60.         <autoSelect> <false /> </autoSelect>
  61.         <showLines> <false /> </showLines>
  62.         <wideMargins> <false /> </wideMargins>
  63.         <multipleLines> <false /> </multipleLines>
  64.         <reservedFamily> 0 </reservedFamily>
  65.         <titleWidth>0</titleWidth>
  66.         <icon>0</icon>
  67.         <textAlign>center</textAlign>
  68.         <font>Geneva</font>
  69.         <textSize>12</textSize>
  70.         <textStyle>plain</textStyle>
  71.         <textHeight>16</textHeight>
  72.         <name>Latitude</name>
  73.         <script></script>
  74.     </part>
  75.     <part>
  76.         <id>3</id>
  77.         <type>field</type>
  78.         <visible> <true /> </visible>
  79.         <dontWrap> <false /> </dontWrap>
  80.         <dontSearch> <false /> </dontSearch>
  81.         <sharedText> <false /> </sharedText>
  82.         <fixedLineHeight> <false /> </fixedLineHeight>
  83.         <autoTab> <false /> </autoTab>
  84.         <lockText> <false /> </lockText>
  85.         <rect>
  86.             <left>361</left>
  87.             <top>47</top>
  88.             <right>461</right>
  89.             <bottom>67</bottom>
  90.         </rect>
  91.         <style>rectangle</style>
  92.         <autoSelect> <false /> </autoSelect>
  93.         <showLines> <false /> </showLines>
  94.         <wideMargins> <false /> </wideMargins>
  95.         <multipleLines> <false /> </multipleLines>
  96.         <reservedFamily> 0 </reservedFamily>
  97.         <titleWidth>0</titleWidth>
  98.         <icon>0</icon>
  99.         <textAlign>center</textAlign>
  100.         <font>Geneva</font>
  101.         <textSize>12</textSize>
  102.         <textStyle>plain</textStyle>
  103.         <textHeight>16</textHeight>
  104.         <name>Longitude</name>
  105.         <script></script>
  106.     </part>
  107.     <part>
  108.         <id>4</id>
  109.         <type>field</type>
  110.         <visible> <true /> </visible>
  111.         <dontWrap> <false /> </dontWrap>
  112.         <dontSearch> <false /> </dontSearch>
  113.         <sharedText> <false /> </sharedText>
  114.         <fixedLineHeight> <false /> </fixedLineHeight>
  115.         <autoTab> <false /> </autoTab>
  116.         <lockText> <true /> </lockText>
  117.         <rect>
  118.             <left>133</left>
  119.             <top>180</top>
  120.             <right>204</right>
  121.             <bottom>200</bottom>
  122.         </rect>
  123.         <style>rectangle</style>
  124.         <autoSelect> <false /> </autoSelect>
  125.         <showLines> <false /> </showLines>
  126.         <wideMargins> <false /> </wideMargins>
  127.         <multipleLines> <false /> </multipleLines>
  128.         <reservedFamily> 0 </reservedFamily>
  129.         <titleWidth>0</titleWidth>
  130.         <icon>0</icon>
  131.         <textAlign>center</textAlign>
  132.         <font>Geneva</font>
  133.         <textSize>12</textSize>
  134.         <textStyle>plain</textStyle>
  135.         <textHeight>16</textHeight>
  136.         <name>SunRise</name>
  137.         <script></script>
  138.     </part>
  139.     <part>
  140.         <id>5</id>
  141.         <type>field</type>
  142.         <visible> <true /> </visible>
  143.         <dontWrap> <false /> </dontWrap>
  144.         <dontSearch> <false /> </dontSearch>
  145.         <sharedText> <false /> </sharedText>
  146.         <fixedLineHeight> <false /> </fixedLineHeight>
  147.         <autoTab> <false /> </autoTab>
  148.         <lockText> <true /> </lockText>
  149.         <rect>
  150.             <left>349</left>
  151.             <top>180</top>
  152.             <right>419</right>
  153.             <bottom>200</bottom>
  154.         </rect>
  155.         <style>rectangle</style>
  156.         <autoSelect> <false /> </autoSelect>
  157.         <showLines> <false /> </showLines>
  158.         <wideMargins> <false /> </wideMargins>
  159.         <multipleLines> <false /> </multipleLines>
  160.         <reservedFamily> 0 </reservedFamily>
  161.         <titleWidth>0</titleWidth>
  162.         <icon>0</icon>
  163.         <textAlign>center</textAlign>
  164.         <font>Geneva</font>
  165.         <textSize>12</textSize>
  166.         <textStyle>plain</textStyle>
  167.         <textHeight>16</textHeight>
  168.         <name>SunSet</name>
  169.         <script></script>
  170.     </part>
  171.     <part>
  172.         <id>6</id>
  173.         <type>button</type>
  174.         <visible> <true /> </visible>
  175.         <reserved5> 0 </reserved5>
  176.         <reserved4> 0 </reserved4>
  177.         <reserved3> 0 </reserved3>
  178.         <reserved2> 0 </reserved2>
  179.         <reserved1> 0 </reserved1>
  180.         <enabled> <true /> </enabled>
  181.         <rect>
  182.             <left>137</left>
  183.             <top>312</top>
  184.             <right>365</right>
  185.             <bottom>334</bottom>
  186.         </rect>
  187.         <style>rectangle</style>
  188.         <showName> <true /> </showName>
  189.         <highlight> <false /> </highlight>
  190.         <autoHighlight> <true /> </autoHighlight>
  191.         <sharedHighlight> <false /> </sharedHighlight>
  192.         <family>0</family>
  193.         <titleWidth>0</titleWidth>
  194.         <icon>0</icon>
  195.         <textAlign>center</textAlign>
  196.         <font>Chicago</font>
  197.         <textSize>12</textSize>
  198.         <textStyle>plain</textStyle>
  199.         <name>Give Me Sun Rise & Sun Set Times</name>
  200.         <script>on mouseUpglobal TZoneput field "TimeZone" into TZoneset cursor to watchput field "Date" into itconvert it to dateItemsput item 1  of it into yearput item 2 of it into monthput item 3 of it into dayput field "Latitude" into Latget last char of Latif it is "S" then put "-" before Latdelete last char of Latput field "Longitude" into Longiget last char of Longiif it is "E" then put "-" before Longidelete last char of Longiput sunRiseSet (year, month, day, Lat, Longi) into rsTimeput item 1 of rsTime &&"am" into field "SunRise"put item 2 of rsTime into setTimeput char 1 to 2 of setTime into tempset numberFormat to "##"put (temp - 12) into setHourput (setHour) &(char 3 to 5 of setTime) &&"pm" into field "SunSet"beepend mouseUp</script>
  201.     </part>
  202.     <part>
  203.         <id>7</id>
  204.         <type>field</type>
  205.         <visible> <true /> </visible>
  206.         <dontWrap> <false /> </dontWrap>
  207.         <dontSearch> <false /> </dontSearch>
  208.         <sharedText> <false /> </sharedText>
  209.         <fixedLineHeight> <false /> </fixedLineHeight>
  210.         <autoTab> <false /> </autoTab>
  211.         <lockText> <true /> </lockText>
  212.         <rect>
  213.             <left>281</left>
  214.             <top>105</top>
  215.             <right>351</right>
  216.             <bottom>125</bottom>
  217.         </rect>
  218.         <style>rectangle</style>
  219.         <autoSelect> <false /> </autoSelect>
  220.         <showLines> <false /> </showLines>
  221.         <wideMargins> <false /> </wideMargins>
  222.         <multipleLines> <false /> </multipleLines>
  223.         <reservedFamily> 0 </reservedFamily>
  224.         <titleWidth>0</titleWidth>
  225.         <icon>0</icon>
  226.         <textAlign>center</textAlign>
  227.         <font>Geneva</font>
  228.         <textSize>12</textSize>
  229.         <textStyle>plain</textStyle>
  230.         <textHeight>16</textHeight>
  231.         <name>TimeZone</name>
  232.         <script></script>
  233.     </part>
  234.     <part>
  235.         <id>8</id>
  236.         <type>button</type>
  237.         <visible> <true /> </visible>
  238.         <reserved5> 0 </reserved5>
  239.         <reserved4> 0 </reserved4>
  240.         <reserved3> 0 </reserved3>
  241.         <reserved2> 0 </reserved2>
  242.         <reserved1> 0 </reserved1>
  243.         <enabled> <true /> </enabled>
  244.         <rect>
  245.             <left>69</left>
  246.             <top>104</top>
  247.             <right>239</right>
  248.             <bottom>126</bottom>
  249.         </rect>
  250.         <style>shadow</style>
  251.         <showName> <true /> </showName>
  252.         <highlight> <false /> </highlight>
  253.         <autoHighlight> <false /> </autoHighlight>
  254.         <sharedHighlight> <true /> </sharedHighlight>
  255.         <family>0</family>
  256.         <titleWidth>0</titleWidth>
  257.         <icon>0</icon>
  258.         <textAlign>center</textAlign>
  259.         <font>Chicago</font>
  260.         <textSize>12</textSize>
  261.         <textStyle>plain</textStyle>
  262.         <name>What is my Time Zone?</name>
  263.         <script>on mouseUpshow field "Zone"end mouseUp</script>
  264.     </part>
  265.     <part>
  266.         <id>9</id>
  267.         <type>field</type>
  268.         <visible> <false /> </visible>
  269.         <dontWrap> <false /> </dontWrap>
  270.         <dontSearch> <false /> </dontSearch>
  271.         <sharedText> <false /> </sharedText>
  272.         <fixedLineHeight> <false /> </fixedLineHeight>
  273.         <autoTab> <false /> </autoTab>
  274.         <lockText> <true /> </lockText>
  275.         <rect>
  276.             <left>71</left>
  277.             <top>129</top>
  278.             <right>420</right>
  279.             <bottom>329</bottom>
  280.         </rect>
  281.         <style>scrolling</style>
  282.         <autoSelect> <false /> </autoSelect>
  283.         <showLines> <false /> </showLines>
  284.         <wideMargins> <false /> </wideMargins>
  285.         <multipleLines> <false /> </multipleLines>
  286.         <reservedFamily> 0 </reservedFamily>
  287.         <titleWidth>0</titleWidth>
  288.         <icon>0</icon>
  289.         <textAlign>left</textAlign>
  290.         <font>Geneva</font>
  291.         <textSize>10</textSize>
  292.         <textStyle>plain</textStyle>
  293.         <textHeight>13</textHeight>
  294.         <name>Zone</name>
  295.         <script>on mouseUpput the clickText into field "TimeZone"hide meend mouseUp</script>
  296.     </part>
  297.     <name></name>
  298.     <script></script>
  299. </background>
  300.